package goodroommate.service;

import java.util.LinkedList;

import goodroommate.dal.DatabaseSession;
import goodroommate.domain.News;
import goodroommate.exception.DatabaseException;

public interface INewsService {
	
	public LinkedList<News> getNews() throws DatabaseException;
	public News getNewsByID(int newsid) throws DatabaseException;
	public boolean addNews(String subject,String content)throws DatabaseException;
	public LinkedList<News> getAllNews() throws DatabaseException;
}
